<template>
	<view class="box">
		<u-navbar title="sk2旗舰店" title-size="36" title-color="#222" height="60"></u-navbar>
		<view class="bj">
			<view class="shop">
				<image src="../../static/logo.png" mode=""></image>
				<view class="rightbox">
					<view class="name">
						萧版尊享汇专卖店
					</view>
					<view class="phone">
						<image src="../../static/logo.png" mode=""></image>
						<text>15978544562</text>
					</view>
					<image src="../../static/logo.png" mode="" class="share"></image>
				</view>
			</view>
			<view class="site">
				<view class="listbox">
					<image src="../../static/logo.png" mode=""></image>
					<text>本店专营高端品牌腕表，欢迎选购！</text>
				</view>
				<view class="listbox1">
					<image src="../../static/logo.png" mode=""></image>
					<text>成都市武侯区红牌楼广场1号写字楼</text>
				</view>
				<text class="distance">1km</text>
				<image src="../../static/logo.png" mode="" class="siteimg"></image>
			</view>
		</view>
		<view class="wrap">
			<u-swiper :list="list" height="750"></u-swiper>
		</view>
		<Basetitle name="全部商品" style="margin-top: 30rpx;"></Basetitle>
		<image src="../../static/矩形67拷贝.png" mode="widthFix" class="angle"></image>
		<scroll-view class="" style="height: 600rpx;" @click="particulars" @refresherpulling="refresherpulling"
			@scrolltolower="scrolltolower" scroll-y="true">
			<Basetwolist></Basetwolist>
		</scroll-view>
	</view>
</template>

<script>
	import Basetitle from "../../components/Basetitle/index.vue"
	import Basetwolist from "../../components/Basetwolist/index.vue"
	export default {
		data() {
			return {
				list: [{
						image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
					},
					{
						image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
					},
					{
						image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
					}
				],
			}
		},
		methods: {
			scrolltolower() {
				uni.showToast({
					title: "没有更多",
					icon: "none"
				})
			},
		},
		components: {
			Basetitle,
			Basetwolist
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		background-color: #FFFFFF;
	}

	.bj {
		background-image: url(../../static/bj.png);
		width: 100%;
		height: 400rpx;
		background-size: 750rpx;
		padding-top: 40rpx;
		box-sizing: border-box;

		.shop {
			margin-left: 24rpx;
			display: flex;
			align-items: center;
			position: relative;

			.share {
				position: absolute;
				top: 0;
				right: 25rpx;
				width: 30rpx;
				height: 30rpx;
			}

			image {
				width: 120rpx;
				height: 120rpx;
				border-radius: 10rpx;
			}

			.rightbox {
				margin-left: 24rpx;

				.name {
					font-family: MicrosoftYaHei-Bold;
					font-size: 30rpx;
					color: #FFFFFF;
					font-weight: 700;
				}

				.phone {
					margin-top: 17rpx;
					display: flex;
					align-items: center;

					image {
						width: 25rpx;
						height: 25rpx;
					}

					text {
						font-family: MicrosoftYaHei;
						font-size: 24rpx;
						color: #FFFFFF;
						margin-left: 10rpx;
					}
				}
			}
		}

		.site {
			width: 700rpx;
			height: 130rpx;
			background-color: rgba(255, 255, 255, .8);
			border-radius: 10rpx;
			margin: 0 auto;
			margin-top: 30rpx;
			padding: 31rpx 30rpx;
			box-sizing: border-box;
			position: relative;

			.distance {
				position: absolute;
				top: 18rpx;
				right: 65rpx;
				font-family: MicrosoftYaHei;
				font-size: 24rpx;
				color: #999999;
			}

			.siteimg {
				width: 53rpx;
				height: 53rpx;
				position: absolute;
				top: 58rpx;
				right: 62rpx;
			}

			.listbox {
				display: flex;
				align-items: center;

				image {
					width: 24rpx;
					height: 24rpx;
				}

				text {
					font-family: MicrosoftYaHei;
					font-size: 24rpx;
					color: #222222;
					margin-left: 20rpx;
				}
			}

			.listbox1 {
				display: flex;
				align-items: center;
				margin-top: 19rpx;

				image {
					width: 24rpx;
					height: 24rpx;
				}

				text {
					font-family: MicrosoftYaHei;
					font-size: 24rpx;
					color: #999999;
					margin-left: 20rpx;
				}
			}
		}
	}

	.wrap {
		width: 700rpx;
		height: 750rpx;
		background-color: #ffffff;
		border-radius: 10rpx;
		margin: 0 auto;
		margin-top: -60rpx;
	}

	.angle {
		width: 41rpx;
		margin-left: 59rpx;
	}

	.scrollContent {
		height: calc(100% - 100rpx);
		background-color: #9C26B0;
		margin-bottom: 100rpx;
	}
</style>
